#return only word starts with 'a', 'e', 'i', 'o', 'u'
def starts_with_vowel(the_str):
    vowels = ['a', 'e', 'i', 'o', 'u']
    if len(the_str) == 0:
        return False
    else:
        return the_str[0].lower() in vowels

words = ["hello", "apple", "excellent", "dictionary", "our"]

print (dir(filter))

#return an iterable object so we are able to list  
print (list(filter(starts_with_vowel, words)))
 

